Performs a comparison of two objects of the
same type and returns a value indicating whether one object is less
than, equal to, or greater than the other.
Namespace:
Microsoft.ConfigurationManagement.ApplicationManagement
Assembly:
Microsoft.ConfigurationManagement.ApplicationManagement (in
Microsoft.ConfigurationManagement.ApplicationManagement.dll)
Usage
Visual Basic |
Dim objA As TechnologyBase(Of T)
Dim objB As TechnologyBase(Of T)
Dim returnValue As Integer
returnValue = TechnologyBase(Of T).Compare(objA, objB)
|
Syntax
Visual Basic |
<SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")> _
Public Shared Function Compare ( _
objA As TechnologyBase(Of T), _
objB As TechnologyBase(Of T) _
) As Integer
|
C# |
[SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static int Compare (
TechnologyBase<T> objA,
TechnologyBase<T> objB
)
|
C++ |
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public:
static int Compare (
TechnologyBase<T>^ objA,
TechnologyBase<T>^ objB
)
|
J# |
/** @attribute SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes") */
public static int Compare (
TechnologyBase<T> objA,
TechnologyBase<T> objB
)
|
JScript |
SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")
public static function Compare (
objA : TechnologyBase<T>,
objB : TechnologyBase<T>
) : int
|
Parameters
- objA
-
The first object to compare.
- objB
-
The second object to compare.
Return Value
Returns
Int32.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also